﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;

namespace BruteForce.NewManagers
{
    public abstract class Manager
    {
        protected int UpdateLoopIndex;
        public abstract void Draw(GameTime gameTime, BFGame game);
        protected abstract void _Update(GameTime gameTime, BFGame game);
        public abstract void LoadContent(ContentManager content);
        public abstract void Initialize();

        public void Update(GameTime gameTime, BFGame game)
        {
            _Update(gameTime, game);
            UpdateLoopIndex = BFGame.LoopIndex;
        }
    }
}